package cn.tedu.hw_two;

import java.io.IOException;
import java.io.OutputStream;

public class Test3 {
public static void main(String[] args)throws IOException  {
	OutputStream a=new Z2();
	a.write(10);
}
}
class Z2 extends OutputStream{
	@Override
	public void write(int b) throws IOException {
		System.out.println(1);
	}
}
		
